package com.boge.ratelimiter.config;


import com.boge.methodExt.DoMehodExtPoint;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Configuration ： 标注为配置文件
 */
@Configuration
public class MethodExtAutoConfigure {


    @Bean(value = "doMehodExtPoint")
    @ConditionalOnMissingBean
    public DoMehodExtPoint doMehodExtPoint(){
        return new DoMehodExtPoint();
    }
}

  